<template>
	<view @click="Num">
		测试公共组件，
		{{naame}}
	</view>
</template>

<script>
	export default {
		name:"test-my-comp",
		props:['naame'],
		data() {
			return {
				
			};
		},
		methods:{
			Num(){
				this.$emit('onclic',11)
			}
		}
	}
</script>

<style lang="scss">

</style>